/********************************************************************************
 *      Copyright:  (C) 2025 LingYun<iot25@lingyun>
 *                  All rights reserved.
 *
 *       Filename:  socket.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(24/04/25)
 *         Author:  LingYun <iot25@lingyun>
 *      ChangeLog:  1, Release initial version on "24/04/25 15:13:24"
 *                 
 ********************************************************************************/

#ifndef  _SOCKET_H_
#define  _SOCKET_H_

#include "main.h"

#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>


int init_client_context(client_ctx_t *ctx, char *server_ip, int server_port, int interval);
int connect_server(client_ctx_t *ctx);



#endif

